<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<%= yield(:keywords) || tag(:meta, :content=>"Буд Финанс-Консалт", :name=>"keywords") %>
	<%= yield(:description) || tag(:meta, :content=>"Буд Финанс-Консалт", :name=>"description") %>
	<title><%= yield(:title) || "Буд Финанс-Консалт" %></title>
	<%= stylesheet_link_tag "main" %>
	<!--[if lte IE 7]><%= stylesheet_link_tag "ie" %><![endif]-->
	<%= javascript_include_tag :defaults %>
	<%= javascript_include_tag :fckeditor if params[:controller].include?('admin')  %>
	<%= auto_discovery_link_tag :rss, {:format => "rss"} if @rss_feed %>
	<%= yield :head %>
</head>

<body>
<div id="main">
	<div id="head">
    	<h1><%= link_to_unless_current image_tag("logo.gif", :alt=>"Буд Финанс-Консалт", :title=>"Буд Финанс-Консалт"), root_path %></h1>
        <div class="callCenter">
        	<div class="cont">
                <span>(044)</span>
                <strong><%= link_to "209-92-51", '/contacts' %></strong>
								<div style="padding-right: 5px;">бесплатная консультация</div>
            </div>
        </div>
    </div>
		<%= render :partial=>"includes/menu" %>
		
		<%= yield(:crediting) || (render :partial=>"includes/notice") %>
    
    <div id="mainCont">
			<%= yield %>
    </div>
    
    <div id="bottom">
    	© Буд Финанс-Консалт
			<%= render :partial=>"includes/categories" %>
			<%= render :partial=>"includes/search" %>
    </div>
</div>
<%= render :partial=>"includes/question" %>
<%= render :partial=>"includes/calc" %>
<%= yield(:footer) %>
<div id='preloader' class="overlay" style='display:none;z-index:4000;'></div>
</body>
</html>
